from django.contrib import admin
from django import forms
from models import *

class PingAdmin(admin.ModelAdmin):
    
    list_display = ('creation_date', 'status', 'target', )
    list_filter = ('creation_date', 'status', 'target', )
    
    search_fields = ['target']

admin.site.register(Target)
admin.site.register(Ping,PingAdmin)
